<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
</head>
<body>
<div th:fragment="editBlock">
    <div class="module-block">
        <div class="row-fluid" id="formSearch1">
            <div class="span6">
                <div class="form-inline padding15" role="form">
                    <input type="hidden" name="guid" th:field="*{guid}"/>
                    <div class="form-group">
                        <label class="form-label">应用系统编号：</label>
                        <label class="form-label" name="appKey" th:value="${formBean.appKey}"/>
                    </div>
                    <div class="form-group">
                        <label class="form-label">应用系统名称：</label>
                        <label class="form-label" name="appName" th:value="${formBean.appName}"/>
                    </div>
                    <div class="form-group">
                        <label class="form-label">应用token ：</label>
                        <textarea class="form-label" name="appToken" th:text="${formBean.appToken}" th:readonly="readonly" th:inline="text"/>
                    </div>
                    <div class="form-group">
                        <label class="form-label">接口编号：</label>
                        <label class="form-label" name="interfaceId" th:value="${formBean.interfaceId}"/>
                    </div>
                    <div class="form-group">
                        <label class="form-label">接口名称：</label>
                        <label class="form-label" name="interfaceName" th:value="${formBean.interfaceName}"/>
                    </div>
                    <div class="form-group">
                        <label class="form-label">接口API：</label>
                        <label class="form-label" name="interfaceApi" th:text="${formBean.interfaceApi}"/>
                    </div>
                    <div class="form-group">
                        <label class="form-label">接口类型：</label>
                        <label class="form-label" name="interfaceType" th:text="${formBean.interfaceType}"/>
                    </div>
                    <div class="form-group">
                        <label class="form-label">访问URL：</label>
                        <label class="form-label" name="requestUrl" th:text="${formBean.requestUrl}"/>
                    </div>

                    <div class="form-group">
                        <label class="form-label">请求时间 (开始)：</label>
                        <label class="form-label" name="startDate" th:text="${formBean.startDate}"/>
                    </div>
                    <div class="form-group">
                        <label class="form-label">请求时间 (结束)：</label>
                        <label class="form-label" name="endDate" th:text="${formBean.endDate}"/>
                    </div>

                    <div class="form-group">
                        <label class="form-label">耗时（毫秒）：</label>
                        <label class="form-label" name="consumeTime" th:text="${formBean.consumeTime}"/>
                    </div>
                    <div class="form-group">
                        <label class="form-label">重发次数 ：</label>
                        <label class="form-label" name="recallNumber" th:text="${formBean.recallNumber}"/>
                    </div>
                    <div class="form-group">
                        <label class="form-label">重发时间 ：</label>
                        <label class="form-label" name="recallDate" th:text="${formBean.recallDate}"/>
                    </div>
                    <div class="form-group">
                        <label class="form-label">错误编码：</label>
                        <label class="form-label" name="errorcode" th:text="${formBean.errorcode}"/>
                    </div>
                    <div class="form-group">
                        <label class="form-label">错误信息：</label>
                        <textarea class="form-label" name="errormsg" th:text="${formBean.errormsg}"/>
                    </div>
                    <div class="form-group" name="status" th:switch="${formBean.status}">
                        <label class="form-label">接口状态 ：</label>
                        <label class="form-label" th:case="0">成功</label>
                        <label class="form-label" th:case="1">失败</label>
                        <label class="form-label" th:case="2">异常</label>
                    </div>
                    <div class="form-group  form-group-line">
                        <label class="form-label">请求文本 ：</label>
                        <textarea class="form-label" name="requestText" th:text="${formBean.requestText}"/>
                    </div>
                    <div class="form-group  form-group-line">
                        <label class="form-label">应答文本 ：</label>
                        <textarea class="form-label" name="responseText" th:text="${formBean.responseText}"/>
                    </div>
                    <div class="form-group  form-group-line">
                        <label class="form-label">异常信息 ：</label>
                        <label class="form-label" name="exceptionInfo" th:text="${formBean.exceptionInfo}"/>
                    </div>
                    <div class="form-group  form-group-line" th:name="isProcess" th:switch="${formBean.isProcess}">
                        <label class="form-label">是否人工处理 ：</label>
                        <label class="form-label" th:case="1">是</label>
                        <label class="form-label" th:case="0">否</label>
                    </div>
                    <div class="form-group form-textarea">
                        <label class="form-label">人工处理说明：</label>
                        <textarea name="processInstruction" th:text="${formBean.processInstruction}"
                                  class="form-control" th:inline="text"/>
                    </div>
                </div>
            </div>
        </div>
        <div class="row-fluid">
            <div class="span5" id="table-btnGrounb">
                <button class="table-btn" id="pushBtn" type="submit">重发</button>
                <button type="button" class="table-btn" th:onclick="'javascript:formSave(\'interfaceLogs\');'">保存</button>
            </div>
        </div>
    </div>
</div>
</body>
</html>